package com.crm.dao.mapper.worklog;

import com.crm.model.entity.worklog.WorkLog;
import com.crm.model.entity.worklog.WorkLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WorkLogMapper {
    long countByExample(WorkLogExample example);

    int deleteByExample(WorkLogExample example);

    int deleteByPrimaryKey(String logId);

    int insert(WorkLog record);

    int insertSelective(WorkLog record);

    List<WorkLog> selectByExampleWithBLOBs(WorkLogExample example);

    List<WorkLog> selectByExample(WorkLogExample example);

    WorkLog selectByPrimaryKey(String logId);

    int updateByExampleSelective(@Param("record") WorkLog record, @Param("example") WorkLogExample example);

    int updateByExampleWithBLOBs(@Param("record") WorkLog record, @Param("example") WorkLogExample example);

    int updateByExample(@Param("record") WorkLog record, @Param("example") WorkLogExample example);

    int updateByPrimaryKeySelective(WorkLog record);

    int updateByPrimaryKeyWithBLOBs(WorkLog record);

    int updateByPrimaryKey(WorkLog record);
}